package com.network.example;

import com.network.bean.User;
import com.network.mvp.UserPresenter;
import com.network.mvp.UserView;

/**
 * Created by kkmike999 on 2016/06/04.
 */
public class ProxyTest {
	public static void main(String[] args) {
		UserPresenter userPresenter = new UserPresenter(new UserView() {
			@Override
			public void onUserLoaded(User user) {
				System.out.println(user);
			}
		});

		userPresenter.loadUser("test");
	}
}
